package com.zjgsu.demo.nodeEntity;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.neo4j.ogm.annotation.GraphId;
import org.neo4j.ogm.annotation.NodeEntity;
import org.neo4j.ogm.annotation.Relationship;

import java.util.List;

@NodeEntity(label="Dept")
public class Dept {
    @GraphId
    private Long id;
    private String deptName;
    private String deptWeb;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDeptWeb() {
        return deptWeb;
    }

    public void setDeptWeb(String deptWeb) {
        this.deptWeb = deptWeb;
    }
}
